#pragma once
#include <string>
#include <unordered_map>

class ConfigManager
{
public:
    static ConfigManager &getInstance();

    bool loadConfig(const std::string &filePath);
    bool saveConfig(const std::string &filePath) const;

    std::string get(const std::string &key) const;
    void set(const std::string &key, const std::string &value);

private:
    ConfigManager() = default;
    std::unordered_map<std::string, std::string> configData;
};
